<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
%>
<jsp:include page="/schedule/util.jsp"></jsp:include>	
<html>
<head>
<script type="text/javascript">
Ext.onReady(function(){
	var btn7=new Ext.Button({
		text:"查询课表",
		listeners:{//监听
	        "click":function(node,e){
		 window.parent.frames['mainFrame'].location.reload('courseList.jsp');
	             }
     	}}
		);
	var btn8=new Ext.Button({
		text:"修改登录信息",
		listeners:{//监听
	        "click":function(node,e){
		window.parent.frames['mainFrame'].location.reload('changeInfo.jsp');
	             }
     	}}
		);
	var btn9=new Ext.Button({
		text:"退出系统",
		listeners:{//监听
	        "click":	function () {
				var r = Ext.MessageBox.confirm("系统提示","确认要退出系统？",function(button) {
					if (button == "yes") {
					         window.parent.location = "/schedule/loginInfoOut";
								} 
							 });
				}
     	}}
		);
	var toolbar=new Ext.Toolbar({
		width:1400, 
        height:28, 
		renderTo:"foot", 
		items:[btn7,btn8,btn9]
		}); 
	}); 
</script>
</head>
<body >
 <div id="foot" align="right" ></div> 
  </body>
</html>
